<html  xmlns:th="http://www.thymeleaf.org">
<div th:fragment="header">
    <!-- jquery 1.11 -->
    <script th:src="@{/lib/jquery.min.js}"></script>
    <!-- layui -->
    <script th:src="@{/lib/layui/layui.js}"></script>
    <link rel="stylesheet" th:href="@{/lib/layui/css/layui.css}">
    <!--<link rel="stylesheet" th:href="@{/lib/layuiextend/css/layui.css}">-->
    <script>
        var baseURL = $('#ctx').val();
    </script>
</div>